This repository was archived by the owner on Feb 5, 2020. It is now read-only.
modules/tls: modularize TLS provisioning#1910
Merged
alexsomesan merged 2 commits intocoreos:masterfrom Sep 14, 2017
Merged
Conversation
added 2 commits
September 14, 2017 16:06
This adds a new modules under `modules/tls/*` which is necessary for swappable TLS certificates.
Currently everything is based off the Kube CA certificate. This changes it by: 1. Configuring a dedicated Dex client CA in Tectonic console pointing to the identity grpc client CA. 2. Configuring a dedicated OIDC CA certificate for the API server. 3. Configuring a dedicated ingress CA certificate for the Tectonic console. This will allow to specify separate CA certificates.
alexsomesan
approved these changes
Sep 14, 2017
nreisbeck
pushed a commit
to nreisbeck/tectonic-installer
that referenced
this pull request
Oct 19, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently everything is based off the Kube CA certificate.
This changes it by:
modules/tlssubsystems. This allows swapping in/out user-provided vs. self-signed certificates.oidc-ca.crtinkube-apiserver-secret.yaml. This can point to the Kube CA in existing clusters.--oidc-ca-filesetting of the API server which previously pointed to the Kube CA and now points to the aboveoidc-ca.crtBRIDGE_DEX_CLIENT_CA_FILEenv variable in the console deployment which points to the grpc client CA certificatetectonic-identity-grpc-client-secret/ca-cert. This secret is already present in existing clusters.ca-certin thetectonic-ca-cert-secretsecret now points to a dedicated ingress CA certificate, currently effectively pointing to the Kube CA in existing clusters. I don't envision a necessary upgrade path here, but added it in this list for completeness.Fixes INST-64
Re-opened and rebased version of #1811